const { merge } = require('webpack-merge')
const common = require('./webpack.base.js')
const path = require('path')


module.exports = merge(common, {
    mode: 'production', //production 编译出的文件大小比较小 development编译出的比较大
    output: {
        filename: 'bundle.js',
        path: path.resolve(__dirname, 'dist')
    },
});
